package org.hdl.anima.message;

import org.hdl.anima.common.io.Record;

/**
 * 
 * @author qiuhd
 * @since  2014-2-17
 * @version V1.0.0
 */
public interface IMessage extends Record{
	
	void setId(int id);
	
	int getId();
	
	boolean isEncrypted();
	
	void setEncrypted(boolean encrypte);
	
	void display(StringBuilder builder,int level);
	
	void displaySimple(StringBuilder builder,int level);
}

